package jzqb.bo;

import jzqb.po.CommonsPo;
import lombok.Data;

/**
 * Description:
 *
 * @author BaiGe
 * @date: 2021/4/14 14:13
 * @Version 1.0
 */
@Data
public class CommonsBo extends CommonsPo {
    //起始时间
    private String startTime;
    //结束时间
    private String endTime;
    //当前页码
    private Integer page;
    //每页显示条数
    private Integer pageSize;
    //分页起始下标
    private Integer start;


    public void setStart(Integer page, Integer pageSize) {
        this.start = (page - 1) * pageSize;
    }
}
